{include file="header.tpl" }
{literal}
<script language="javascript" type="text/javascript">
var lastname = "";
var msg=new Array(
	"<font color=\"red\">用户名长度错误！</font>",
	"<font color=\"red\">此用户名包含不可接受字符或被管理员屏蔽,请选择其它用户名</font>",
	"<font color=\"red\">该用户名已经被注册，请选用其他用户名。</font>",
	"<font color=\"green\">恭喜您，该用户名还未被注册，您可以使用这个用户名注册！</font>"
);
function namecheck() {
	var username = document.getElementById("account").value;
	if (username == "") {
		return false;
	}
	if (username == lastname) {
		return false;
	}
	lastname = username;
	document.forgetForm.account.value = username;
	document.getElementById("ans_info").innerHTML = "获取问题中，请稍等...";
	document.forgetForm.submit();
	return true;
}
function retmsg(id){
	document.getElementById("ans_info").innerHTML = msg[id];
}
</script>
{/literal}
<br>
<table width="98%" cellspacing=0 cellpadding=0 align=center><tr>
  <td align=left>
<b><A href="{$index_url}"><img src='{#t_images#}navi.gif' border=0 alt="">{$html_title}</A> &gt;&gt; 忘记密码</b></td>
</tr></table>
<table width="100%">
<TR align=center bgcolor="#FFFFFF">
  <TD height="1"></TD>
  </TR>
</TABLE>
<form name="forgetForm" method="post" action="" id="forgetForm">
<table width="98%" cellspacing=0 cellpadding=6 align=center class=i_table>
<tr><td class=left_head colspan=2><b>登录程式</b></td></tr>
<tr>
  <td width="10%">登陆帐号：</td>
  <td>
    <input name="account" type='text' id="account" value="{$account}" size=25 maxLength=20>
  <input type="button" name="getquestion" value="获取安全问题" onClick="return namecheck();">
 </td>
</tr>
<tr>
  <td>安全提问：</td>
  <td id="ans_info">{if $question}{$question}{else}请输入登陆帐号后获得安全问题{/if}</td>
</tr>
<tr>
  <td><span class="fontgrey">回 答：</span></td>
  <td id="ans_info"><input name="ans" type='text' id="ans" size=25 maxLength=20></td>
</tr>
<tr><td>电子邮件：</td><td><input name="email" type="text" id="email2" size="25">
  你注册时提供的邮件地址</td></tr>
<tr>
  <td>新 密 码：</td>
  <td>  <input name="newpass" type='password' id="newpass" size=25 maxLength=20></td>
</tr>
<tr><td>
</td></tr></table>
<center><input name='Submit' type='submit' value=' 提 交 '>
<input name="code" type="hidden" id="code2" value="01">
</center>
</form>	
<table width="100%">
<TR align=center bgcolor="#FFFFFF">
  <TD height="1"></TD>
  </TR>
</TABLE>
{include file="footer.tpl"}